﻿namespace WLFramework.Web.Binder
{
    using System.Collections.Generic;
    using System.Linq;

    public sealed class ModelExceptionCollection : Dictionary<string, ModelException>
    {
        public ModelExceptionCollection()
        {
            
        }

        public ModelException this[int index]
        {
            get
            {
                return this.ToArray()[index].Value;
            }
        }
    }
}
